package com.arpa.ntocc.common.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 用户登录记录
 * </p>
 *
 * @author LEO
 * @since 2019-08-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_user_login_history")
public class UserLoginHistory extends BasicEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 登录账号
     */
    @TableField("user_login_id")
    private String userLoginId;

    /**
     * 用户标识
     */
    @TableField("party_code")
    private String partyCode;

    /**
     * 登录日期
     */
    @TableField("from_date")
    private LocalDateTime fromDate;

    /**
     * 错误密码
     */
    @TableField("password_used")
    private String passwordUsed;

    /**
     * 是否成功登录
     */
    @TableField("successful_login")
    private String successfulLogin;

}
